﻿using Blazor.CoffeeTalesApi.Entity;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;

namespace Blazor.CoffeeTalesApi.Dto.Request;

public class SetJumpUrlRequest
{
    [JsonProperty("channel")]
    [JsonConverter(typeof(StringEnumConverter))]
    public Channel Channel { get; set; }

    [JsonProperty("jump_url")]
    public string JumpUrl { get; set; }
}